@echo off
echo 正在测试车辆用户同步结果...
echo.

echo 1. 获取所有用户...
curl -s http://localhost:8080/vehicle-secure/api/users | findstr "email\|firstName\|lastName"

echo.
echo 2. 获取所有车辆及关联用户...
curl -s http://localhost:8080/vehicle-secure/api/vehicles | findstr "licensePlate\|ownerEmail\|ownerName"

echo.
echo 3. 测试手动同步API...
curl -s -X POST http://localhost:8080/vehicle-secure/api/sync/vehicle-users

echo.
echo 测试完成！
pause